home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Zoom 2
/
Zoom - Release 2 (1996)(Active Software)[!].iso
/
texts
/
dosman121
/
dosman.rx
< prev
next >
Wrap
Text File
|
1995-05-18
|
560b
|
29 lines
/* DosMan for REXX interface */
/* by Peter Bagnato and John Collett */
parse upper arg infile
if infile = '' then do
say 'Input page you wish to read:'
pull infile
infile='man/'infile
end
if ~open('textfile',infile,'read') then do
say 'That file or path does not exist...'
exit 20
end
do until eof('textfile')
i=20 /* Edit this value to make fewer or more lines appear in CLI */
do until i = 0
line=readln('textfile')
say line
i=i-1
end
say 'continue reading? y/n'
pull ans
if ans='n' then
exit 20
endif
end
exit 0